.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #f5f7fa;
  padding: 1rem;
}

.auth-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  overflow: hidden;
}

.auth-title {
  background-color: #2c3e50;
  color: white;
  margin: 0;
  padding: 1.2rem;
  text-align: center;
  font-size: 1.3rem;
}

.auth-form {
  padding: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: rgb(174, 0, 43);
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background-color: rgb(174, 0, 43);
  border-color: rgb(174, 0, 43);
}

.btn-primary:hover {
  background-color: rgb(255, 89, 130);
  border-color: rgb(255, 89, 130);
}

.btn-block {
  display: block;
  width: 100%;
}

.auth-footer {
  padding: 1rem 1.5rem;
  background-color: #f8f9fa;
  border-top: 1px solid #eee;
  text-align: center;
}

.auth-footer p {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  color: #7f8c8d;
}

.auth-footer a {
  color: rgb(174, 0, 43);
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.login-hint {
  background-color: #fef9e7;
  border-left: 3px solid #f1c40f;
  padding: 0.8rem;
  font-size: 0.85rem;
  color: #7d6608;
  border-radius: 4px;
}

.login-hint p {
  margin: 0 0 0.3rem 0;
}

.login-hint p:last-child {
  margin-bottom: 0;
}

/* 响应式调整 */
@media (max-width: 576px) {
  .auth-card {
    max-width: 100%;
  }
}